﻿// Copyright 2007. Adobe Systems Incorporated. All Rights Reserved.
package com.adobe.captivate.events 
{
	import flash.events.Event;

	/**
	 * The CaptivateEvent class defines the base class for all events that will be fired by a captivate movie. 
     *
     *
     * @langversion 3.0
     * @playerversion Flash 9.0.28.0
	 */
	public class CaptivateEvent extends Event 
	{
		protected var m_CaptivateVersion:String;

		protected static const m_CaptivateEventsVersion:String = "1.0.0"; 

		public function CaptivateEvent(type:String,captivateVersion:String,cancelable:Boolean = false) 
		{
			super(type, true, cancelable);
			m_CaptivateVersion = captivateVersion;
		}
		public override function clone():Event
		{
			return new CaptivateEvent(type,captivateVersion,cancelable);
		}
		public function get captivateVersion():String
		{
			return m_CaptivateVersion;
		}
	}
}
